package com.heima.behavior.service;

import com.heima.model.behavior.dtos.LikesBehaviorDto;
import com.heima.model.behavior.dtos.ReadBehaviorDto;
import com.heima.model.behavior.dtos.UnLikesBehaviorDto;
import com.heima.model.common.dtos.ResponseResult;


/**
 * @Author: Luo Zeqi
 * @Date: 2022/11/16/23:23
 */
public interface BehaviorService {

    /**
     * 点赞
     * @param likesBehaviorDto
     * @return
     */
    ResponseResult likesBehavior(LikesBehaviorDto likesBehaviorDto);


    /**
     * 增加阅读次数
     * @param readBehaviorDto
     * @return
     */
    ResponseResult readBehavior(ReadBehaviorDto readBehaviorDto);

    /**
     * 不喜欢/取消
     * @param unLikesBehaviorDto
     * @return
     */
    ResponseResult unLikesBehavior(UnLikesBehaviorDto unLikesBehaviorDto);
}
